﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using FANUC.DTO;
using System.Web.Http.Description;

namespace FANUC.Controllers
{
    public class getCurrentUserController : ApiController
    {
        [ResponseType(typeof(UserDTO))]
        public IHttpActionResult Get()
        {
            UserDTO data = new UserDTO();
            data.UserName = "admin";
            return Ok(data);
        }

        [ApiExplorerSettings(IgnoreApi = true)]
        public string Options()
        { return null; }
    }
}
